#ifndef TRACKSMANAGERLABEL_H
#define TRACKSMANAGERLABEL_H

#include <QtGui>
#include "controls/ftlabel.h"

class GPS_track;

class TracksManagerLabel : public FTLabel
{
    Q_OBJECT
public:
    explicit TracksManagerLabel(GPS_track*);

    void paintEvent(QPaintEvent*);
    void mouseReleaseEvent(QMouseEvent*);

signals:
    void editTrack(int);

public slots:

    void updateCaption();

private:
    GPS_track* track;
};

#endif // TRACKSMANAGERLABEL_H
